some more trials to get modal dialogs work in qtclient