Getting a hamstring injury doesn't mean that he pulled them, I guess it's a bruise of a a hard knock that will keep him out for a couple of weeks max. I'm just assuming here.
Alves still got great understanding with teammates, crazy runs, going inside the pitch, the 1-2s with Leo. Still not gonna be easy to let him go unless Montoya is being played more often this season to get those things from Dani.