hide popup until all elements are created