#10740 fix for tooltip+popover destroy method does not remove the element from the DOM

tweaked the patch to avoid creating a tooltip if never shown before as @jochenberger suggested