In fact, dreams are formed like this: thinking day after day and dreaming at night, cells in the brain remember many things they have experienced, especially when some brain cells are still active and release random combination memories!
It's just a dream! Don't be superstitious