<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSModalPanelRunLoopMode",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSModalPanelRunLoopMode"
  },
  "title" : "NSModalPanelRunLoopMode"
}
-->

# NSModalPanelRunLoopMode

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

```
extern NSRunLoopMode NSModalPanelRunLoopMode;
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)