don't open next view during close all command
less hacky way
rename var
code cleanup + one more case where it could fail to remove
one more fix
IS=is
address 2 code review issues
last of the remaining nits
Merge pull request #9094 from adobe/jeff/fix-9087

Don't open next view during close all command