Don't open next view during close all command

Fixes #9087

The fix is a little more complex than just suppressing the open next command because the api allows for any arbitrary list of files to be passed in to it so we need to do something special if the current file is closed.
I'm confused with what you said in the above comment and what you're doing here. AFAIK, we're deprecating `Commands.FILE_ADD_TO_WORKING_SET` and we're posting a deprecation warning in DocumentCommandHandlers.js file. So we should not be replacing it with `Commands.CMD_ADD_TO_WORKING_SET` here if we're really deprecating it. But your above comment sounds like  we need both.