Ajaxified the dialog.