How to add one row to a table from a pop-up o modal pannel?

Hi all

I am a newbie at Bonita 7.2, I have done a pop-up, with a custom widget and with JQuery, and I need to fill in some fields in this modal pannel, and I do it with out problems. Then I need to add this row to a table of the form, and I don't know how to do it from the custom widget, to refresd this data, and also save it to the data base

Any assistance would be greatly appreciated.

Kind regards,