I'm a declarative TemplateRef!
TemplateRef can also access the DialogRef for context and modal control:
{{ ctx | json }}