update for the city selector
auto close the dialog box when the map update completed