Fixed form not submitting when enter is pressed and no item selected