Seems like the correct play to me. No way we are folding and 3 betting to 7-8 BBs puts in a spot where if we are called we probably should be barreling on the flop unless both an Ace and King hit the board. This bet then would commit us so we might as well have jammed pre just as you did. I guess we can consider calling behind but that is too passive. It works if there are no King or Ace on the flop and then you can check jam over the buttons likely C bet but I dont like it. I prefer shoving