The "open panel" in macOS is actually a system service, run out-of-process, with different sandbox and permission.