{{ define "modal_pattern.html" }}
{{ template "demo_doc_start" . }}
{{ template "demo_masthead" (dict "label" "Pattern Demo" "title" .Title "lead" "Single-modal workflow progression: edit → confirm → complete, with explicit cancel/close paths." "back_url" "/" "back_text" "← Back to catalog") }}
Open States
Page Context
Selected items
{{ if .SelectedIDs }}{{ len .SelectedIDs }} selected{{ else }}none{{ end }}