popup window init finished