working popups - need a way to get event payloads