add the drag event for the leaf node and update the drop down menu