Ensure Dismiss at the end of animation