Renamed popup-method to addpopup