Add trigger callback on tooltip show and hide.