If Firefox 4 is not already set as your default, then the window shown above will appear. To make it OS X's default browser, click on the button labeled Yes.
You will now be returned to the Firefox Options dialog. Click on the red 'X' in the upper left hand corner of the dialog to return to your main browser window. Firefox 4 is now your default browser.