You are trying to use the Promo popup window and a functional popup which would be closed provided a condition has been fulfilled. The Promo popup is not destined for such purposes. It is just an informative/promoting window. You will have to find a special plugin for your purpose. As we have not tested any we can hardly recommend, unfortunately.