fix(modal): refocus onto [autofocus] elements if any

Opening a modal window using the directive causes autofocus elements inside the modal to lose focus. This refocuses them if any exist in the modal