this seems too simple.. but there must still be a panel operation button for Close in the Default location which exists.
Due to a glitch, SOMETIMES there is a button which does not show up in the main list of buttons.
This seems to be a button which you deleted but which didn't get deleted properly, and which will display in the app.