Add scale transition for modals