Added option for switching of dialogs animation