fixes dialog animation
delete old comment