Added ajax_save_form function