Conformation Dialog Box

Conformation Dialog Box

Hi, just starting out with jQuery and UI.  I have done some programming before but I a little lost.

What I’m trying to do is:

User clicks a button to delete a record from a database, a dialog box is shown to confirm the action, and if yes record is deleted, if not dialog just closes.

The record is delete via PHP on another page after receiving the ‘id’ via POST, so I guess I need to target the actual click on the delete button / link.

But how do I get the dialog to open another page?
Many thanks in advance.
Paul