Destroy the tooltip popup only when it's closed
Merge pull request #1503 from geoadmin/dev_tooltip

Destroy the tooltip popup only when it's closed