Added animations to dialog