add validation on popup inputs