updated code to close the interstitial