shell: Freeze network settings while editing them.

So that external changes don't interfere with the user interaction.