Created by: david-lallement
If the tooltip component is in a modal, only the listeners created by the tooltip component should to be removed in the dispose method. For example, if we subscribe to the hide.bs.modal event of the modal component and call the dispose method of a tooltip component inside, the hide.bs.modal event subscription is lost.
Using of event namespace feature of jquery ensures that only the handler created in _setListeners function is removed in dispose function.