Can you include your popups script here so we can try and reproduce it?