Memory leak? connSelectorInterface will only be deleted during this classes destructor. If openConnectionDialog() gets called multiple times, multiple instances of it will exist. Perhaps just create on the stack?