Handle case when pressing Enter key submits the form without firing blur event