Prevent the IP from update when the instance is stopped.

Moving the stopped instance update dialog handling into JS