Leashed dogs will be OK on parts of beaches