I have a solution ASP.NET MVC where I manage materials with CRUD functionalities. Each material can have several packings attached. At this time, each time I add a packing to the material I save it directly to the repository. I don’t like this way.
What I would like: every time I add a packing, I populate a table on my jQuery dialog and only when user click Save, everything (material + packings) is saved on the repository.
I wonder if something exist this way like a tutorial or plugin to point me to the right direction?

Thanks.
You already have the table containing the materials. It currently only displays information about each material. All you have to do is include the corresponding hidden fields that will contain the information entered in the dialog so that when the form is submitted everything will be sent to the server and you could save it at once. Once the dialog is closed you will update the corresponding hidden fields with the values entered in this dialog.
Of course for the model binding to work you need to respect the naming convention of your hidden fields.