fixes clicking 'delete this compare' so that it actually shows a modal and the success of that modal actually deletes the compare