moving dialog service from wx to qt. (not working)