Make the 'connect' dialog work.  Still needs sanity-checking