Merge pull request #7875 from spycrab/qt_msgbox_fixes ModalMessageBox: Remove superfluous buttons and ensure correct parent