a simple app to demonstrate NSUndoManager usage