The tree controls display's it properly. When I open the tree
item it displays the child nodes. When I select the one of the
subtree item and click delete, I get Out of Range error.
One thing I noticed was that the selectedIndex changes
depending upon whether the item with children is open or close. if
its open the children take the next index. If its closed, the next
tree item gets the index.
Not sure how to go about deleting child nodes correctly.