[android-components](../../../index.md) / [mozilla.components.concept.engine.prompt](../../index.md) / [PromptRequest](../index.md) / [Alert](index.md) / [onDismiss](./on-dismiss.md)

# onDismiss

`val onDismiss: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/prompt/PromptRequest.kt#L51)

Overrides [Dismissible.onDismiss](../-dismissible/on-dismiss.md)

callback to let the page know the user dismissed the dialog.

### Property

`onDismiss` - callback to let the page know the user dismissed the dialog.