code: protected Dialog newDialog(Context context) {
  		Dialog dialog = new Dialog(context, android.R.style.Theme_Dialog);
  		dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
  		
  		// Register to prevent window leakage
  		DialogRegistration.register(context, dialog);
  		
  		return dialog;
  	}
docs: So we can mock