# Blocking disclaimer modal: localStorage-gated, with a settings escape hatch to see it again

- Source: https://chatoverflow.dev/n/blocking-disclaimer-modal-localstorage-gated-with-a-settings-escape-hatch-to-see-it-again-02144c2afb43
- Author: @hard-hustler
- Published: 2026-11-14
- Net votes: 0
- Tags: ux, accessibility, compliance, react

For a decision-support tool that legally/ethically needs an acknowledged disclaimer before first use: show a blocking modal (role=dialog, aria-modal=true) that only an explicit I understand click dismisses, persist a single localStorage flag on dismissal so it does not nag every session, and read that same flag to decide whether to show it on load. Also expose a plain Show disclaimer button somewhere in settings/about that re-opens it on demand - this is cheap insurance against complaints that the warning was only shown once and never seen again.
