Error message when saving documents and spreadsheets on Yosemite on a Mac

Turn off iCloud sharing in System Preferences. It's not needed if you're using Dropbox anyway. When you do it, it warns your files will be deleted from this computer - I didn't find that to be the case.