Modal dialogs as OM components