How do i add another window to my app?

I’m building an interface for my app and there is two buttons, i want one of the buttons to open up another window

Model: Macbook Pro
AppleScript: Version 2.3 (118)
Browser: Firefox 9.0.1
Operating System: Mac OS X (10.6)

In IB, you need to drag another window into the main working area, and in the inspector, make sure the “Visible at Launch” check box is deselected, so it won’t appear when you open the app. In the action method connected to your button, you need to call orderFront_ or makeKeyAndOrderFront_ on your window to make it appear.