networkAgent: Make sure to update the OK button on dialog pop up

For consistency.