diff --git a/storybook/src/components/Dialog/Dialog.docs.mdx b/storybook/src/components/Dialog/Dialog.docs.mdx index 1ff4165496..8cbcd2ba7e 100644 --- a/storybook/src/components/Dialog/Dialog.docs.mdx +++ b/storybook/src/components/Dialog/Dialog.docs.mdx @@ -20,6 +20,7 @@ Set `method="dialog"` when using a form in Dialog. This closes the Dialog when submitting the form. Pass the submit Button to the `footer` prop, and link it to the form by passing its `id` to the Buttons `form` attribute. +The Dialog returns the value of the submit Button, so you can check which Button was clicked.