Prevent redundant save dialogs
Prevent redundant save dialogs

With the changes in PR#65, some code paths resulted in the presentation of multiple save dialogs. This occurred because in CloudFileManagerClient the saveFileDialog() and saveFileAsDialog() methods call _dialogSave() once the dialog is dismissed. The _dialogSave() method calls saveFile(), which optionally brings up the save dialog. The changes in PR#65 triggered this latent issue. The fix here is to pull out the actual saving code from saveFile() into a saveFileNoDialog() method. With this change, saveFile() calls saveFileDialog() or saveFileNoDialog() as appropriate, and _dialogSave() calls saveFileNoDialog(), thus eliminating the potential for redundant dialogs.

concord-consortium/cloud-file-manager,concord-consortium/cloud-file-manager,concord-consortium/cloud-file-manager,concord-consortium/cloud-file-manager