I would make one small mod to this method. Instead of repeatedly looking up instance._inlineEditorNoticeId, I would just cache it to a var.

Also, do we need to relookup the editNotice every time? Or could we cache it?