The "Case / regional diagnoses" pop-up. Moved out of the perio-status sidebar
(PerioSidebar) into its own dialog, opened from the "Diagnoses" button next
to the Odontogram / Periodontal-status view toggle. Mirrors CreditsModal's
dialog contract: role="dialog" + aria-modal, Escape closes, backdrop click
closes, focus is trapped while open and returned to the opener on close.
Owns its own caseConds state + a single onStateChange subscription (like
PerioSidebar did), so it stays live while open. Rows are code-first and
code-sorted (getCaseConditions sorts by ICD-10); the add-picker options are
code-first ({icd10} {label}) and code-sorted too.
The "Case / regional diagnoses" pop-up. Moved out of the perio-status sidebar (
PerioSidebar) into its own dialog, opened from the "Diagnoses" button next to the Odontogram / Periodontal-status view toggle. MirrorsCreditsModal's dialog contract:role="dialog"+aria-modal, Escape closes, backdrop click closes, focus is trapped while open and returned to the opener on close.Owns its own
caseCondsstate + a singleonStateChangesubscription (likePerioSidebardid), so it stays live while open. Rows are code-first and code-sorted (getCaseConditionssorts by ICD-10); the add-picker options are code-first ({icd10} {label}) and code-sorted too.