run the animation on confirmation