Added focus and submit event on edit modals