title: jqueryui frame dialog and multiple buttons
body: <p>Here is what I have..I am using the jquery.FrameDialog plugin. When the dialog box opens up, there are 2 buttons. One for let's say open google.com and second button to open stackoverflow.com</p>
  
  <p>Problem is that the default url works fine, but using the button like this: <code>$dialog.load("http://www.google.com");</code> it doesn't work. What am I doing wrong?</p>
  
  <p>Here is my full code:</p>
  
  <pre><code>   $('#mydialog').click(function(){
            var $dialog = jQuery.FrameDialog.create({
            url: 'http://www.yahoo.com',
            loadingClass: 'loading-image',
            title: 'IP Tracing',
            width: 1100,
            height: 700,
            autoOpen: false,
            overlay: {
            opacity: 0.5,
            background: "black"
            },
            buttons: {
                   "google": function() {
                          $dialog.load("http://www.google.com");
                   },
                   "stackoverflow": function() {
                          $dialog.load("http://www.stackoverflow.com");
                   },
                   "Exit": function() {
                          $( this ).dialog( "close" );
                   }
            }
       });
  
       $dialog.dialog('open');
       return false;
       });
  </code></pre>