This ^ I don't even think Madara is done. Not for one sec. I didn't last chapter when Kaguya started to take over. MADARA is how Kaguya will be defeated.madara has had to much build up for him to have died like that he'll be back you can bet an arm and a leg on it
He is going to fight for control over his body leaving her open for Naruto and Sasuke to advance. Maybe even Obito will spring back to life (again. Probably from naruto's god touch) and play a role as well.
Whatch it be Sakura who saves the day XD