Update CoverPop.js

Add custom action to coverpop close event.  This is helpful for country selection and redirect.  Window replace method is used here.