forms: Preserve form data when changing forms