Make editor undo/redo actions sensitive at appropriate times.