Minor fix

Made the QMessageBox-es children to the calling class. This should
prevent memory leaks