Successful dialogue with Taliban to help resolve problems: Gilani