Modified modal, added transitions