6.18 Dialog View in a new window
This is an example component to illustrate the required markup for a dialog.
Twig: components/dialog/dialog-example.twig
Example
Markup
<button class="button" id="example-dialog-toggle">Open dialog</button>
{% embed '@uts_theme/components/dialog/dialog.twig' with {toggle: 'example-dialog-toggle', label: 'Dialog'} %}
{% block content %}
<a href="#">A link</a>
{% endblock %}
{% endembed %}