Replace Save and Cancel buttons on alert (with several data fields)and save data to a table

@jshaffstall’s solution is the most flexible and allows you to put whatever you like in the form.

If all you need are a few input fields, you can have a look at the input_box cutom component.