I'm still using IB2, but I assume the procedure is the same in IB3:
Hold down the control key, and drag from the button to the window's icon in the "instances" tab of the main nib window. You'll see a list of actions appear in the Inspector palette. Connect it to "makeKeyAndOrderFront:". That should do it.