title: Show modal window using *.nib file
body: <p>I have prefs pane application, and need to show modal window using specific nib file.</p>
  
  <p>I use method:</p>
  
  <pre><code>[NSBundle loadNibNamed:@"___NibName___" owner:self];    
  </code></pre>
  
  <p>It's all right, but window is not modal( I can get access to prefs pane window ).</p>
  
  <p>What should i dot to make this window modal( user should not have acces to prefs pane window, until current window will not be closed ).</p>
  
  <p>Thanks!</p>