created AddOrEditFormGenerator