build popup