Fix lost focus in ScreenViewControl
Change closeEvent implementation in ProgressDialog

I'm not even convinced the old one was wrong, but I somehow once managed
to close the whole application by closing the dialog. With the current
implementation, that's definitely impossible.