Indian markets close with modest gains after volatile session reacting to geopolitical developments and crude oil price drop.