[clients/gedit] Fix saving unsaved document contents
[clients/gedit] Debug log unsaved document errors