Our site pops up a modal javascript/jquery dialog, which requires the user to either close or "Like" on facebook to proceed. We are using the HTML5 version of the "Like" code.

The "Close" works fine, but how do I get the dialog to close when the user clicks on "Like"?

The actual "Like" button is provided by Facebook in an IFrame, and I haven't been able to get to it via JavaScript yet.

Any ideas?