window modality for all dialogs based on QMessageBox and QFileDialog, better handling of allowed web content in the same window