Madara knows that he will fix this, make a new world; the better one; the one where the dreams are real and where it is ok for a boy to love another boy, a world where he will be loved just as much as he loves. It may be an illusion, but it will be as real as possible.