Add popupReady event