Added global click listener to hide tooltip