Fix click bindings after adding tag, add error messages for duplicate tags.