title: Problem with multiple window/NIB cocoa application
body: <p>I'm having a problem with my Cocoa app.  I'm using my app delegate as a controller, and opening one window in a NIB file.  Clicking a toolbar button opens another window from another NIB.  Clicking save on this second window calls a method on the app delegate/controller.  All this works fine.</p>
  
  <p>The strange thing is that I can't figure out is that the app delegate points to one memory location when I click the toolbar button and to a different memory location after clicking save on the second window.  It's as if a second app delegate/controller is being created, though stepping through the code doesn't give me any indication of that occurring.</p>
  
  <p>Is there a better way to architect this type of application?  Any idea of where I'm going wrong?</p>