add esc, enter buttons save ip:port on exit