Soak the rice for 8-10 hrs. Combine & soak the dal for about 2 hrs. Grind the dal in a blender adding enough water to make a smooth mixture. Follow the same for the rice.
Mix in the salt and set aside the mixture in a warm place. Allow to rise for 16-18 hrs.
For the Chutney
Grind the coconut, chillies, curry leaves and daal in a blender.
Add enough water to form a smooth consistency. Mix in the lemon juice and salt.
Spread butter evenly over the layer.
Flip over and repeat the same. Spread a layer of the chutney.
Top with the masala and fold into an envelope.
Remove from pan and serve hot with coconut chutney and sambhar.