One thing that nobody has suggested so far is to simply transmute yourself to a very small size (polymorphing into toad, for instance) and teleporting into the box, which wouldn't activate the scroll since the box isn't being opened. You could then use hoard gullet to stash the inactive sphere and teleport back out. Probably taking the scroll, too, because why not?