There is something called silent migraines, which can have a lot of the symptoms you describe. I don't know if that's what you had, but maybe something in the hot dogs triggered them. It might be that particular brand of hot dog, and a certain ingredient in them, or just hot dogs in general - they have a lot of nitrates, which is a preservative known to trigger migraines, and tons of sodium, which also can.
It's basically a migraine without the pain.
It might be a condition if it happened all the time. Not just twice. Stop eating hot dogs. If it stops, you will be healthier anyway. If you must have a hot dog, there are great vegetarian ones. If you knew what went into a hot dog, that would make you sick anyway. Again, if you stop eating hot dogs and it never happens again, problem solved.