fixed click event for delete to point to delete button only