animation of the dialog