Fix JS error when closing autonumbered link inspector with invalid title

targetInput.getAnnotation() is null in that case, and getNodeChanges()
didn't account for that possibility.

Change-Id: Iace57d657e3779ca3512b3d4e740bf97f294f7d1
Merge "Fix JS error when closing autonumbered link inspector with invalid title"