add MODIFY_VALUE to undo operations, related to issue #5