---
title: modalPanel
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/runloop/mode/modalpanel
---

# modalPanel

The mode set when waiting for input from a modal panel, such as a save or open panel.

## Declaration

```swift
static let modalPanel: RunLoop.Mode
```

## See Also

### System Run Loop Modes

- [common](foundation/runloop/mode/common.md)
- [default](foundation/runloop/mode/default.md)
- [eventTracking](foundation/runloop/mode/eventtracking.md)
- [tracking](foundation/runloop/mode/tracking.md)
