Adding to this - I just tried to delete a script to see if I hit some kind of limit (highly unlikely as I only have three scripts). Now I only have two because I can't recreate the one I deleted.
Also confirmed the same thing happens in light mode
FIGURED IT OUT
Just make the side panel bigger - for some reason the button disappears at a certain size. All good now.