Prevent opening multiple copies of a same popup