I assigned the Whirlwind skill to the B button; it doesn't use a lot of mana or have a long cooldown time, so if it gets triggered exiting out of a menu/dialog, it's not a big deal.