Change new modal so animation works with enter and leave (also ng-if).