Iam trying to open a model whenever api response is true but iam facing two issues here first is i cannot update the state of my local status object due to which model does