The main window is now a dialog.