Autofocus on the first input element on modals and changing div to form->submit on enter