Add the undo function to tags

Set a undoCollection to save the deleted tags, and a variable undoable
in the messageModel to show if you can undo or not (only delete command
could be undo)