fixed hide animation on dismiss