Prevent form submission when pressing enter key.