replaced when_form with FORM_ATTACHED
initial