InDesign: Controlling Undo with doScript.