Fixing typehints on askAndValidate to match parameters in DialogHelper