MainWindow loses focus after dialog is closed

Printable View