@JeffryBooher Is actually similar to what you are saying, which I just understood. So `closeDocuments(documents, promptOnly)` would be exactly the same as the current (in master) `handleFileCloseAll` but replacing `DocumentManager.getWorkingSet()` with `documents` and `handleFileCloseAll` would call it passing `DocumentManager.getWorkingSet()` as the documents array. This is what I was thinking of, with the difference of still using the Command, instead of calling the Document Manager directly. Any way of doing it would be fine.