added functionality to remove items from the left tree view