gift block and popup not working