pub fn run_dialog<C: 'static + Component>(
) -> impl Future<Output = Result<ResponseType, Canceled>>
Dialog component as a modal dialog.
The parent window will be blocked until it resolves.
It returns a
Future which resolves either to
) when the
response signal is emitted, or to
) if the dialog is
destroyed before the user responds to it.