adds destruction of dependent models on node removal