saving changes to the modeldialog.wxs file