Also fire beforeChange for undo/redo changes

But disable its update method in that case.

Issue #1539