Pages File edited on iPhone and synced with iCloud on OS X EL Capitan, Getting dotted cloud icon
This link can be helpful for you to understand what's going on. Please refer also to the following pics, to see what's exactly your case.

In general, a dotted-lined iCloud icon means that it is waiting to be uploaded.





In order to force the sync, you can try to open the document that you are trying to upload, make whatever modification to the file (even just a point or a comma somewhere) and then save. In this way, you should make the file sync.