basic undo mode for notebox/entity add/remove/move