When deleting a model element in a UML diagram only delete that element from the underlying UML if the diagram belongs to the package where the element is declared.