<div class='sourceset sourceset-common'>Common</div>

```kotlin
public class DialogSceneStrategy<T : Any>() : SceneStrategy<T>
```

A [SceneStrategy](/jetpack-compose/androidx.navigation3/navigation3-ui/interfaces/SceneStrategy) that displays entries that have added [dialog](/jetpack-compose/androidx.compose.ui/ui/functions/dialog) to their `NavEntry.metadata`
within a [Dialog](/jetpack-compose/androidx.wear.compose/compose-material/components/Dialog) instance.

This strategy should always be added before any non-overlay scene strategies.

## Companion Object

#### Methods

<h2 id="dialog-dialogproperties">dialog</h2>

<div class='sourceset sourceset-common'>Common</div>

```kotlin
public fun dialog(
            dialogProperties: DialogProperties = DialogProperties()
        ): Map<String, Any>
```

Function to be called on the `NavEntry.metadata` to mark this entry as something that
should be displayed within a [Dialog](/jetpack-compose/androidx.wear.compose/compose-material/components/Dialog).

#### Parameters

| | |
| --- | --- |
| dialogProperties | properties that should be passed to the containing [Dialog](/jetpack-compose/androidx.wear.compose/compose-material/components/Dialog). |