Make delete button work.