fix multi popups and reject method