undo method in dataset view