Remove dead code

pDialog was always 0

Change-Id: I0874755d5b01bb3ccf6a3acb8dfdafdea78c31ee