Save dialog fix