A click on the tab already selected changes no selection, so the mode
strip reported nothing: once Edit a PDF was closed with its ×, the Edit
tab did nothing and only Shift+F4 brought the panel back (#8526).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit f54e48bd5c)