annotating box addded as target once the node is clicked