Binds the detail view to the delete button