Fix “Save as…” bug