fix(modal): correctly focus with animations using requestAnimationFrame