prevent default action of browser when submitting an entry