Wraps all needed data in hidden inputs in a new form, that is submitted when a specified button is clicked.