-[beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:]
for you with an NSPanel
without difficulty.
However, if you have multiple windows on the same document, NSApp
will block all windows within that document, since it's actually Document modal, not Window modal.