Singapore agreement basis for dialogue with North: South Korea