How can I catch the onload event of a modal? For example, I would like to focus a form element when the modal is shown on the screen.