Add frontend support for tree & plot deletion