added popup window to open connection to socket server.