Fix submit on enter

Submitting on enter doesn't always fire. Made sure to pass on the event.