Sensex and Nifty closed with modest gains, led by rises in Reliance Industries shares. Market sentiment cautious ahead of macroeconomic data and earnings. Top gainers were Reliance Industries, Tata Steel, Bharti Airtel. Top losers were Titan Company, HCL Technologies, Power Grid Corporation.