<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/IKFilterBrowserPanel/runModal(options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(cs)IKFilterBrowserPanel(im)runModalWithOptions:"
  },
  "title" : "runModal(options:)"
}
-->

# runModal(options:)

Displays the filter browser in a modal dialog that must be dismissed by the user but that is not  attached to a window.

```
func runModal(options inOptions: [AnyHashable : Any]! = [:]) -> Int32
```

## Parameters

`inOptions`

A dictionary of options that describe the configuration to use for the filter browser user interface. For the possible keys you can supply see  [Filter Browser Option Keys](/documentation/Quartz/filter-browser-option-keys) and the constant [`IKUISizeFlavor`](/documentation/Quartz/IKUISizeFlavor).

## Return Value

Either <doc://com.apple.documentation/documentation/AppKit/NSOKButton> if the user validates, or <doc://com.apple.documentation/documentation/AppKit/NSCancelButton> if the user cancels.

---

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)