popup: functional popup's call and compare fix