SwiftUI: New window requires user input before displaying

This is for macOS. How do you create a new window via a dialog that REQUIRES user input to proceed on SwiftUI? New > Open Dialog > User Entry/Select > Window displays.

Or do I have to use AppKit and xibs?

Mark