Fixed #22894 -- admin: make add related behaviour customizable

Decouple behaviour and style from the RelatedFieldWidgetWrapper
widget so it's easier to customize.
This makes life easier for people that want to say use a modal
or just style it differently.

While at it in change_form.html start consolidating document ready
event listeners in one place.

Fixes #22894
use the `title` attribute since we don't have `<img alt=''>` anymore?