Remove doc click listener in tooltip; hide tooltip on opening modal or alert