New feature: added callback to a click on a node