GUI-1005

used preventDefault() since form was submitting after ajax call