Mazda 2 Stalling

I have a 2011 Mazda 2, 1.5L w/automatic trans. The car only has 1800 miles on it. The other day i was driving it when the car started to lose power and then stalled out. I coasted to a stop. When I tried to restart the car it idled roughly and only in the 200-300rpm range. When I put in gear it would stall out. I let it sit for about 15 minutes and then was able to restart the car with no issue. Since then I put on another 40 miles with no problem.

Before the car stalled I had driven it for about 30 miles with the first 15 miles on the interstate. It was 100+ degrees outside and I was running the air. I have taken the car to the Mazda dealer but I am concerned that they will not be able to locate the problem since now the car seems to be running fine. Does anyone have any idea what could be causing this problem?

was there an engine light that came on when this happened?