Added a deleteLater to try and make dialog play nice at startup. It
still doesn't.