pub fn show(
title: &str,
message: &str,
config: &DialogConfig,
) -> Result<Response, Error>Expand description
Displays a modal dialog that blocks the calling thread and waits for user input.
Allows configuration of the dialog icon and button layout (default: Warning icon with OK button).
Use Default::default() if no custom configuration is needed.