Added transitions between modals