Adds connect dialog