Disable save changes button when socket connection is lost