I think the only way to seal Madara was how Itachi sealed a Rinnegan user- Nagato by piercing him with the Sword Of Totsuka. How do you think he will be sealed?
Sakura should strip of her cloths, lay down on the floor then spread her legs wide to release a disgusting fragrance which knocks Obito,Juubi and Madara out.Thus giving the sealing team enough time to finish the job.