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.
The `CMD_ADD_TO_WORKING_SET` is a deprecated command which resolves to a `Document` object. It must have  been removed during a replace across files cleanup to change the strings. Its replacement API `CMD_ADD_TO_WORKINGSET_AND_OPEN` resolves to a File object since Files can now be added to the working set.