Eek. Thanks. 

The reason I added this was that ``InlineWidget.onClosed`` was only being called when the associated line for the inline widget was deleted. Anyhow, this fix was wrong as you noticed :) . I'm pushing another fix (1) fixes the ``onClosed`` handling and (2) removes the event handlers when closed.

I was seeing extraneous change events received here after closing an inline editor and making edits in the full editor.