adding a drawAttackDialog(a1, a2, a3, a4, cb)