the main window gets now blocked when a dialog is open