WIP modify agent name form to handlle new sort_name_auto_generate boolean