The Congress on Saturday said Prime Minister Narendra Modi had accepted his Pakistani counterpart Nawaz Sharif's invitation to visit Islamabad at a time when two security personnel attained martyrdom due to ceasefire violations by the neighbouring country.