Can’t get form to deactivate

I think it’s liked to this…