We should not remove the child view directly; instead call CodeSyncDiagramOperationsService.delete() to remove the view from its parent and other references.