Destroy the tooltip popup only when it's closed

Fix  https://github.com/geoadmin/mf-chsdi3/issues/791

Test [here](http://mf-geoadmin3.dev.bgdi.ch/dev_tooltip/prod/)