added popup and layergroup