re-enables autofocus and submit on enter