I'm not sure if you spoke to him in the dream or not because you say 'then' in the third sentence as if it's a continuation of the dream. The way you wrote it doesn't make it clear.
If you spoke to him in your waking life two years ago and confessed that you loved each other, then that would be the reason for your dream. You could be feeling like you are running out of time to be together since you dreamt that he was ill. And the sense of being connected by the family could just indicate you think that everything would run smoothly if you did end up getting together.
Of course, that depends on how you felt in the dream. Were you embarrassed that they walked in or happy or sad? Your feelings can tell you a lot about what your dream meant to you.