void resetTags()
Reset the internal taglist. Elements should call this from within the state-change handler.