I am not so sure. As you mentioned, the party is 17th level. Most likely, the mage has a counterspell waiting for teleport or fireball. True, the buff spells could help with the dragon's touch AC, but then, you could also summon 17 alien stirges and have the mage cast a quickened haste on all...