refactor(modal): use $animate for animations