prevent user from reload page when hitting Enter in input Model filename