added modal function along with country selector