Stocks rise modestly after last week’s rally

? Investors traded cautiously Monday, managing to give the market a third straight day of gains despite a weekend bomb attack in Indonesia that spooked overseas markets.

Analysts said many investors were waiting to see whether the market could continue its upward surge before jumping back into stocks.

The Dow Jones industrial average rose 27.11, or 0.4 percent, to close at 7,877.40, after gaining 4.3 percent last week to snap a six-week losing streak. Blue-chip stocks had not seen three straight days of gains in five weeks.

The broader market also finished higher.