add the PopupAutoComplete listeners for popupshowing and click events WIP