reload tab from dialog box

reload tab from dialog box


i've got a tab holding ajax content (a table). i want a method on a
dialog box button to reload this tab when the dialog box is being
closed:
$("#add_user").dialog({
        autoOpen: false,
        draggable: false,
        height: 275,
        width: 400,
        resizable: false,
        title: 'Add User',
        modal: true,
        buttons: {
            "Cancel": function() {
========================================================
        var $tabs = $('#tabs.tabs'), selected =    $tabs.data('selected.tabs');
        $tabs.tabs('load', selected);
========================================================
                $(this).dialog("close");
            },
            "Submit": function() {
                $('#user_form').ajaxSubmit(au_options);
                $(this).dialog("close");
                $('#output').dialog('open');
                return false;
            }
        }
    });
that's what i've got so far - can anybody see what's wrong with the
bit inside the "====" lines?