When creating a new internal diagram for the element which cannot be the context of this diagram (e.g. Package), the new context element is created automatically.

This feature is available for all UAF diagrams based on Composite Structure Diagram.