put panelElement in <code>item</code> so you could just remove the element when you get the event telling you one notification is inactive.