src/sieveeditormainwindow.cpp - QPointer guard dialog
Differential Revision: https://phabricator.kde.org/D7285