Add tooltip self-reference to address #12320

To fix #12320, add a data reference on the tooltip (and popover) such
that calling `$(‘#myTooltip’).tooltip(‘hide’)` will hide the visible tip.