ajax loading of dialog, form submit