setMode on saveAs and load