Why does the enter key submit the form?