undoabl memento memento todo undo manag extern given undo manag us project us global diagram undo manag instanc gener memento diagram undo manag instanc add memento memento memento redo todo mark diagram project dirti 