edit dialog edits all the tags