Your dream was simply wishful thinking. You are probably thinking of him quit a bit and therefore you have dreams about him and it's natural. People dream every half hour and remember few dreams in REM sleep as it's the bodies way of relaxing from stress. The dreams people remember are seconds after the first wake up.