The stock market continued to gain ground on Monday, reflecting investor optimism about the potential for a favorable outcome in the planned U.S. meeting with North Korean leader Kim Jong Un in Singapore. Most major benchmarks gained modestly on the day, with the Nasdaq Composite rising and the Dow Jones Industrial Average picking up a few points.