You probably know that Lewis Carroll wrote another book after Alice's Adventures in Wonderland called Through the Looking Glass. If you read chapter 4 you might find a clue to what has been happening.
As to your friends... If you are only alive in a dream...then perhaps everything you know about them is only a dream, too.
It's up to you to decide what you think about how real you are!