when a tag is selected, make quitting have the same behaviour as clearing the tag.