Modal, closable, draggable, role, title
modal, closable and draggable are all on by default. Off, modal drops the dimmed backdrop, the focus trap and the body scroll lock, and a press on the page reaches the page and leaves the dialog open closable removes the close button, Escape and the backdrop press, leaving the content's own buttons; draggable keeps the header but stops it moving. Without a title the header holds only the close button — and the dialog has no name, which dev mode warns about.
last afterClosed: none yet
@for (row of rows; track row.name) {
<gog-button variant="outline" size="sm" (gogClick)="open(row)">{{ row.name }}</gog-button>
}
<p>last afterClosed: {{ result() }}</p>