Add support for undo/redo of regenerateSES