Add active attribute to element triggering tooltip