fix(modal): fix modal animations glitches on iOS when using ngAnimate