switched Save dialog to FileDialog
clean up