Non-AJAX behavior of the dialog buttons.
function ajax_test_dialog_form_submit($form, &$form_state) { $form_state['redirect'] = 'ajax-test/dialog-contents'; }