There is no Close button in your image only OK, Cancel or using the X close at the top right of the window.
If you used the X close then nothing would have been saved, you would have to make your changes (check the box, remove the configuration address, uncheck the box, select Automatically detect settings) and OK your way out.