Closing Popup Div on Chip Define