fix(modal): re-apply autofocus after showing modal