Confirmation from a dialog form
See the composition pattern and its focus-management caveats when a form is already inside a modal.
This integration recipe is not installed in the docs app. Copy the pattern into a project with the named integration dependency.
// Place the flow under the same provider as the parent dialog.
// Verify focus restoration and Escape behavior in your modal stack.
const accepted = await feedback.confirm({
title: 'Save these changes?',
outsidePress: false,
})