The OnExecCommand handler trick is a good work-around, but there
is a white flash after the undo operation, as the body style background color
is reset to white, followed by the styleChange() method setting the background
color to red. The fix "restores" the body style rather than "preserves" it.
Gerard