The sites.html edit modal reads peer_inbound_access_key from the row's data attribute, but the peers JSON built by sites_dashboard omitted the field, so every edit cleared an existing key. Add the field to the JSON so the modal renders the stored value and preserves it on save.