fixed issue on multiple pop-up window definition