Added outerclick to hide tooltips