added transition of dialog