Which is good, because `_saveAllDocuments` is duplicated from `	_saveBeforePreview`. 

Putting aside the fact that the name `saveBeforePreview` is bad, why can't you link your "save all" button with  `	_saveBeforePreview` to save all files ? (Feel free to rename `saveBeforePreview` to a more sensible name)