Delete button functionality.