NXIO-250: put the form in loading state while updating an environment