that happen to me too, luckly i didnt dent my roof, I smashed my window hardcore though.. bent my hinges and broke the plastic cowl.
Sorry that happen. Hope you get it all fixed.
i highly doubt they'd total it for that, nothing some bondo can't fix (and thats what they'd do.)