The RPC and Blockscout "Save" buttons in Settings take the network that Settings was last drawn for. A follow of a switch saved elsewhere sets `state` first. Settings is drawn again only once the follow's write returns. The URL is set in `state` inside the save, holding the lock. The save is refused if the network that Settings showed is no longer active, on the page or in the stored record. The flash message then says that the network changed, and "Saved." is shown only for a stored URL. Before, a popup that followed a switch saved elsewhere could replace the URL before the write and still show "Saved.". It could also store a URL for a network that Settings did not show. Model: opus-5-5