Why do people trust this stuff? At first glance, I could immediately tell this was wrong. I went ahead and tries this anyway to see if maybe QT Dialogs had some weird internal state to make this a singleton, but of course it doesn't.
AI is just wrong answers only.