add delete function to treeview
add delete function to treeview