Save how to fix

exactly what is needed:

dmScripter.IDEDialog1.IDECloseAction := TIDECloseAction.icaNothing;
dmScripter.IDEDialog1.Execute;
dmScripter.IDEEngine1.DlgSaveAll;

Thank !!