pub fn AlertDialog(
state: Rc<DialogState>,
overlay: OverlayHandle,
title: View,
text: View,
confirm_button: View,
dismiss_button: Option<View>,
config: AlertDialogConfig,
) -> ViewExpand description
An improved AlertDialog using the overlay-based Dialog.
Shows a centered modal surface with title, text, confirm button, and optional
dismiss button. Managed via a shared DialogState.