adds delete button for form elements