check for contact header existance before creating dialog when canceled