Currently the dialog just leaks. As a top level window it should get
cleaned up by the QApplication destructor.
This hopefully fixes a bug where a QMenu in QML (a top level window with
no parent) gets deleted by both QApplication and the KCM closing the
QQuickView which then deletes every QML Element including the menu.