I have many thoughts about this, but am a little short on time, so forgive my lack of organization of these thoughts. 

First of all, I read a blog post the other day that you should check out. It's by a blogger named Caroline who posts at "The Zen in You." http://thezeninyou.blogspot.com/2009/01/oh-this-is-just-blowing-my-mind.html. She writes a review of sorts of a book by an organic chemist who writes about thought energy and the power of meditation. I think you'll find it interesting. 

It sounds so cliche, and I'm sure you've heard it before. Coincidence is God working anonymously. 

And this, "The steps of a good man are ordered by the Lord..." Psalm 37:23a. 

Oprah, who I'm not really in the habit of quoting, although I do admire her, said that the whisper or the nudge telling you to go here or don't go there - is God. 

And, finally this -- Do you believe in the power of your soul? If the soul outlives the body and the mind, then can't it carrry you where you need to go? And if you are carried someplace you shouldn't be before your time, then is the flesh jockeying for control, and sometimes winning? Paul wrote, "The Spirit Himself bears witness to our spirit..." Perhaps God whispered to your soul. That part of you heard Him tell you where to go. You rounded the corner and saw your friend. Your soul carried you there. Your body was unaware. Just one theory. 

It's also probably worth mentioning that sometimes, coincidence leads to disaster, so maybe God shouldn't get all the credit for all such things.