What about just passing an array of documents to close as the command data of `FILE_CLOSE_ALL`. Then inside `handleFileCloseAll` it would use this list of files or the entire working set if the list is undefined.