Undo/redo work for reactions paste, clear,...

replace all