migrate to better undo/redo support for style changes