store domain and port from dialog box