Trigger an action when the variation form is attached