Fix Close All Documents command

Fixes bug #21318 - Close all files tab context menu only closes that tab