When the user creates a new document in my NSDocument-based Cocoa application, I want the new document window to show a sheet where the user can set some initial document parameters.
This sheet shall not be displayed, however, when an existing document is loaded via File > Open.
Is there any existing mechanism which I can hook into for implementing this? Or any recommended way to do it?