I've just tested this - opened a document in pages and saved it to my Dropbox folder (using alt-click on file then save as)
The dropbox icon showed update activity and when I checked online the document was there (it's also in my local dropbox folder)
Are you using the latest version of Dropbox (I'm on 2.10.41)? Also, do you have iCloud Drive enabled?