protected JComponent createCenterPanel() {
   myForm = new OverridePolicyWarningsForm(myProject, myFailures);
   myForm.addListener(
       new OverridePolicyWarningsForm.Listener() {
         public void stateChanged() {
           getOKAction().setEnabled(StringUtil.isNotEmpty(myForm.getReason()));
         }
       });
   return myForm.getContentPane();
 }
 public String getReason() {
   return myForm.getReason();
 }