added logic to enable 'undo' operation for the create tag entity