fixed save not working on new files

fix for #1026 / MAGN-1149
model curves from curve loop