loops through elements to find admin/mod tags for "edit tag" link