Fixed autofocus issue with all modals