Dialog set as modals to lock the main window while they are displayed