Hi. Dr Rick here. I completed an Internal medicine internship in NYC and have two decades of clinical experience. How can I assist you today?
From what you have posted, I would suggest you take the xanax pill at the moment of your panic attack.
Especially since dizziness is not your primary and most urgent system. It is possible that the xanax could "kick in" and prevent you from progressing to being dizzy.
Does this make sense to you?