Japanese Prime Minister Shinzo Abe speaks during a session of the St. Petersburg International Economic Forum (SPIEF), Russia May 25, 2018. REUTERS/Grigory Dukor

ST PETERSBURG, Russia (Reuters) - Japanese Prime Minister Shinzo Abe said on Friday he regretted the cancellation of a summit between U.S. President Donald Trump and North Korean leader Kim Jong Un and said the world should keep working to ensure such a meeting can happen.

Trump dangled the possibility on Friday that a June 12 summit with Kim could still take place, just a day after he canceled the meeting citing Pyongyang’s “open hostility”.

Speaking at an economic forum in the Russian city of St Petersburg, Abe said a summit could be a key factor in peace talks on the Korean peninsula after years of tension over Pyongyang’s nuclear weapons program, but he also cautioned:

“Dialogue for the sake of dialogue is senseless.”

Abe said countries should also try to ensure that Pyongyang continued taking action on its nuclear weapons program.

The Japanese premier said North Korea should be obliged to meet certain conditions, such as denuclearisation, the return of abducted people and fulfilling UN resolutions, before being allowed to discuss long-term partnership with other countries.

Abe said North Korea should make the right choice so that its people can live in prosperity and that it was very important that Pyongyang fulfilled all United Nations resolutions on the full denuclearisation of the country.