It's true the dragons are released and aren't controlled (yet), but I think it's obvious they can only hurt the Yunkai. After all, they are fighting in the Yunkai siege lines - massive amounts of flame aren't going to do those trebuchets any good. The real question is what's going to happen with Tyrion, Dany, Vic, and Brown Ben Plumm once Vic captures a dragon.