dreams of getting close to dying

I have dreams of getting close to dying, but I somehow lead me and everyone else who is with me away from that death. For example, in one dream, I'm riding in a car and we're driving on a bridge and we somehow almost fal off by riding on the very side rail of street on two wheels on the car and then I warn everyone and we somehow get back onto the bridge.
Other info: This dream keeps recurring, but in different and similar situations.