Right-click on the corresponding line in the Hierarchical view dialog area.
Click on the Remove command in the context menu.
-> The relevant part is removed.
When removing a folder the subordinate parts are deleted as well!