fixed certain animations not playing on dismiss