correct for close button in edit country