change delete button to span element