an id changed; deploy dialog broke

Fixes https://github.com/dart-lang/spark/issues/2563; deploy dialog couldn't deploy (we had an NPE when trying to retrieve the dialog checkboxes). @dinhviethoa