Refactor PolicyInline to work generically with any ModelAdmin