dialogs appear in middle of screen. bound mainframe exit button with logout