I noticed that “close all” in my updated wiki causes a JavaScript error: TypeError: can't access property 'style', element is null, even with content present in $:/config/EmptyStoryMessage. It can be replicated with these actions in an empty 5.4.0:
Change the story view to “zoomin”
Click “close all” in the sidebar’s “Open” tab
Change the palette
Click “close all” again