Gilani hopeful of moving ahead through dialogue with India