add a connection dialog