CHANGED:applied the FileSaveDialog function support