fix: execute the block passed to add_custom_field in the proper context

This fixes a regression introduced in #30 that caused the block passed to `add_custom_fields` to be executed in the wrong context, denying it access to controller methods.

Kudos to @ffmike for finding it, and shame on me for pushing something after an aggressive refactoring without taking enough time to make sure everything worked.