I know there's a way to do this--I've seen it in the documentation. However, with all the stuff I've tried, the windows are still being closed.
Expected functionality:
user clicks the close window. Later, they do something else that will bring that exact same window back. I tell the NSWindowController to show the window. However, the NSWindowController doesn't exist anymore and has been removed from the NSDocument's list of NSWindowControllers. I've tried marking the windows to not be released when closed, but they are dissappearing anyway. (however, if the window is minimized, it is brought to the front.)
Any ideas?