Create by button new widgets in dashboards (with a file storage as a template)

Hello!

Do you know if it is possible to create a new widget by button? I explain myself better.

In a dashboard I have a form where the user can introduce some data:

I would like that every time that the user click on the button, it would be created a new widget in the dashboard with the data that the user has introduced:

image

I mean, it is like if I had a template of a widget. Then the user could introduce (by my form) some specifications of that widget. Later, when the user click on the button, a new widget would be created in the dashboard with that information.

I have been trying lots of thing…but nothing!

Thank you!