Prevent default click behaviour so that text stays selected when you need to choose a tag.