Made NetworkedClientUI a JDialog & used dispose to close