I think it's a simple task, but...

I think it's a simple task, but...

Hi people!
I'm a new apprentice in programing and have a lot of questions... but first is first.  ;)

Here's a piece of my code:
  1. $('#dialog1').dialog({
  2. autoOpen: true,
  3. height: 280,
  4. width:600,
  5. modal: true,
  6. buttons: {
  7. 'Soy médico': function() {
  8. $(this).dialog('close');
  9. return true;// Submit Rating
  10. },
  11. 'No soy médico': function() {
  12. $(this).dialog('close');
  13. }
  14. }
  15. });
It's a simple modal dialog selector. The problem is that I don't know how to make a button close the modal and go to another html page. I hope my poor english don't make a mess with this question. Thanks and good look.
Laura.

P.S. I tried to write a .load:
  1. 'No soy médico': function() {
  2. $(this).load('index.html');
But it was a total disaster (index load into the modal box with no kind of style)
Well... sorry and thanks again for your time.
Laura. Again.