Open some dialog content from a TemplateRef

It works from a TemplateRef!