form validation, delete button, delete confirmation