Dialogue with Imran mandatory, says Elahi