implemented the Dialogue Interface in the connection popup