I didn't catch in my initial review that this monkeypatched a new method onto the inline editor - seems inelegant. It would be better to add a "close" event to InlineWidget (that's fired from its onClosed()) and listen for that here.