update dialog animation