markClean and isClean added into UndoManager