diff --git a/src/frontends/qt/GuiAlert.cpp b/src/frontends/qt/GuiAlert.cpp
index e942996dc4..efd886e6d0 100644
--- a/src/frontends/qt/GuiAlert.cpp
+++ b/src/frontends/qt/GuiAlert.cpp
@@ -112,7 +112,7 @@ buttonid doPrompt(docstring const & title, docstring const & question,
 			toqstr(title), toqstr(question),
 			QMessageBox::NoButton, qApp->focusWidget());
 #ifdef Q_OS_MAC
-	msg_box.setWindowModality(Qt::WindowModal);
+	msg_box.setWindowModality(Qt::ApplicationModal);
 #endif
 	b[0] = msg_box.addButton(b1.empty() ? "OK" : toqstr(b1),
 					QMessageBox::ActionRole);
