# Dialog ```rust demo let open = RwSignal::new(false); view! { "Dialog title" "Dialog body" } ``` ### Modal Props | Name | Type | Default | Description | | -------------- | --------------------- | -------------------- | ------------------------------------------- | | show | `Model` | | Whether to show modal. | | title | `MaybeSignal` | `Default::default()` | Modal title. | | width | `MaybeSignal` | `600px` | Modal width. | | z_index | `MaybeSignal` | `2000` | z-index of the modal. | | mask_closeable | `MaybeSignal` | `true` | Whether to emit hide event when click mask. | | close_on_esc | `bool` | `true` | Whether to close modal on Esc is pressed. | | children | `Children` | | Modal's content. | ### Modal Slots | Name | Default | Description | | ----------- | ------- | --------------- | | ModalFooter | `None` | Footer content. |