global private variable for ConnectDialog