prevent multiple selection
detect current tag
style for tooltip