Fixed issue with QMessageBox functions not returning their return status