//! Modal widget trait definition
//!
//! Provides popup/overlay functionality for displaying modal dialogs.
use Widget;
/// Modal widget interface
///
/// Provides popup/overlay functionality for modal dialogs, notifications, etc.
/// Backend implementations should implement this trait.
///
/// Note: Builder methods like `new()`, `with_title()`, `with_size()` etc.
/// should be implemented on the concrete type, not as trait methods.