add setinterval to the closePopup event