adding click handler to tooltip to simulate click on node