allowing form submission on enter and click