Fix the AddVMForm, AddTemplateForm to replace ID with selectfield of name list