Added nodeselect event binding to update the detail box.