hooked up connect dialog