Updated version of L0771's mod:
https://mods.factorio.com/mod/Cursed-PC
Change: Equipping a camera on your cursor toggles whether the cameras will stay visible next time you unequip from your cursor. The close button will work against you.
Edit: Merging with original Cursed Programmable Cameras mod as collaborator.