on click animation on dialog