Move browser attachment behaviour into after_build in order to have it even on cached forms.