Fixing auto form submit on enter key press