When deleting a file with unsaved changes, prompt the user to keep the editor open or lose changes.
Unit tests for moveToTrash
Merge pull request #3980 from adobe/glenn/file-sync-on-delete

File/Folder delete improvements