When a wild Dragon is about to attack, it starts flapping its wings. You can tell by the symbol of its health bar whether it is about to do a normal attack (sword) or a special attack (skull).
If a wild Dragon is gliding, it won't attack you just yet.

The order of turns is based on the type of wild dragons you are facing, and if their spirit bar is fully charged.