corrected a bug where cancel in openkeychain does not dismiss pgp dialog