Attorney: Electric, dockless scooters can be safety risk for riders and pedestrians