added a Dialog to Connect to a server