Do the following:
Code:
d = QMessageBox(QMessageBox.Warning, 'title', 'message')
d.show()
d.raise_()
I was wrong earlier, the import plugins are run in the same process as the GUI, so the boxes will stick around after the adding dialog is closed. This way, the user will be informed and the adding process wont be interrupted.