Change delete button behavior.