Take coconut in a blender and pulse it few times till it is fine. Take jaggery and water in a sauce pan and heat till it is melted. Strain and set aside
Pour this back into the same kadai. Add in coconut and mix well. Keep cooking this till it is thick. Add in cardamom powder, ghee and mix well. Remove this to a bowl and allow it to cool down.
Now make the dough. Take water in a sauce pan, add in salt and 1 teaspoon of oil. Once the water reaches a boil add in rice flour and mix well. It will become like a sticky dough. Now remove this to a bowl and let it cool for 15 mins. Once it is cooled, add in 1 teaspoon of oil and make it into a soft dough.
Shaping with Modak Mould - Now take modak mould and grease it lightly. Take small portion of dough and spread it evenly in mould. Place the filling in and cover it with more dough.Now release the mould, you will have a modak.
Shaping without Modak Mould - Take a small portion of dough and flatten it thinly. Place a small ball of filling in it and cover it. Roll it between your hands to Smoothen it.
Now place this in a steamer and steam it for 8 to 10 mins. Let it cool for 5 mins before removing and serve.