Popup: adds several new callbacks