Do you add a behavior to the main window? Otherwise, you will have to handle all view model state transitions yourself. Best is to simply use the DataWindow and set the mode to custom in the constructor.