Added animations for dialog
Implemented animation for dialog