gold gains modestly, trades at $1,502.50 an ounce