He made the comments during bilateral talks with his Bangladesh counterpart late on Sunday, External Affairs Ministry spokesperson Vikas Swarup said on Monday.
Swarup told reporters here that Modi also spoke in favour of meeting leaders in the South Asian region more regularly and with minimal protocol.
"In fact, he said that 'your battle against terrorism was yielding very positive results. You have shown us all a new template on how to fight terrorism so successfully'," Swarup said.
Modi and Hasina met at the beach village of Benaulim in south Goa.
Swarup said Hasina made a detailed presentation on the various steps her government had taken in the wake of the Holey Artisan (Bakery cafe) terror attack in Dhaka in July 2016.
Hasina told Modi how her administration contacted all the districts of Bangladesh to get everybody on the same page to unite against terror and took on board all the imams to raise their voice against terror.
"She said that now public awareness is very high in Bangladesh against terrorism. (Modi) totally agreed and said terrorism can only be contained with strong public support," Swarup said.
"(Modi) said he wants (leaders of) countries of our region should be able to visit each other at very short notice without protocol considerations coming in the way.
"That is a message the Prime Minister has also been raising in the Saarc context, just as leaders in Europe and leaders in East Asia for instance are able to meet regularly at a fairly short notice," Swarup said.
Modi said the Bay of Bengal Initiative for Multi-Sectoral Technical and Economic Cooperation countries was significant as they represent the blue economy zone.
"In times to come, this would become a very important aspect of economic partnership and co-operation and hence the BRICS-BIMSTEC meeting was already yielding very substantive outcomes."
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)