undo manager added, doesn't work yet