Hige cleanup of dendrogram and add event on edge and nodes