I did the same thing last night, ported out without opening the chest. Luckily I was in a party with some friends and they stayed behind so I could pop back and get it.
But there should be some kind of trigger, like a pop-up to confirm the Teleport because treasure is unclaimed or something.
The system knew well enough that the chest was still there since I got auto-booted from the party when I ported out.