add delete button to edit material page