disposeTree functionality Started