Remove polylines when popup is closed