Added event for popupviewer to track its links