My problem may not be completely related to this bug, but I'm not sure.
In my case I have tooltips attached to links in a dialog, the contents of the tooltip are being populated via an AJAX call, if you click the link it does not fire an event (return false) but this causes the tooltip to stay open.
I've added your suggestion to the close event of the dialog box, if you then close the dialog box the tooltip disappears and then reappears in the top right corner of the screen with a different ID. Something is recreating the silly things!
I've also tried: $('.ui-tooltip').hide();
No matter what I do in the dialog close event, the tooltip is recreated a split second after the dialog closes . . .
I've replicated this with jsFiddle here
To make it happen do the following.
Hover over the link in the dialog, the tooltip should appear.
Press Escape key on the keybaord to close the dialog.
Note: I've discovered the hide animation seems to be helping to cause the problem.
Any clue on how I can fix this short term. If I had hair I'd be pulling it out about now :)
Replying to [comment:13 acouch]:
@dsargent - from the op: "Currently, I hide all .ui-tooltip elements to prevent this issue when I replace the content." They could also be safely removed with a simple $( ".ui-tooltip" ).remove() just before or after replacing the content.