autosavedir: keep previous directory in case of cancelling