title: WiX skip dialog with conditions
body: <p>I have a custom dialog that is showen when <code>InstallPEDatabase</code> feature is selected.
  Here is that part of the sequence where <code>MyEditConfig</code> is my custom dialog:</p>
  
  <pre><code>  &lt;Publish Dialog="MyCustomizeDlg" Control="Next" Event="NewDialog" Value="MyEditConfigDlg"&gt;&lt;![CDATA[(&amp;CreatePEDatabase=3)]]&gt;&lt;/Publish&gt;
    &lt;Publish Dialog="MyCustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg"&gt;&lt;![CDATA[NOT(&amp;CreatePEDatabase=3)]]&gt;&lt;/Publish&gt;
  
    &lt;Publish Dialog="MyEditConfigDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg"&gt;1&lt;/Publish&gt;
    &lt;Publish Dialog="MyEditConfigDlg" Control="Back" Event="NewDialog" Value="MyCustomizeDlg"&gt;1&lt;/Publish&gt;
  
    &lt;Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MyCustomizeDlg" Order="1"&gt;NOT CreatePEDatabase = 3 AND NOT Installed OR WixUI_InstallMode = "Change"&lt;/Publish&gt;
    &lt;Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MyEditConfigDlg" Order="2"&gt;CreatePEDatabase = 3 AND NOT Installed OR WixUI_InstallMode = "Change"&lt;/Publish&gt;
    &lt;Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="3"&gt;Installed AND NOT PATCH&lt;/Publish&gt;
    &lt;Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="4"&gt;Installed AND PATCH&lt;/Publish&gt;
  </code></pre>
  
  <p>Like this it works for selecting the feature then the <code>MyEditConfigDlg</code> is presented and when feature is not selected then it is not presented. The problem is that when i click next from my custom dialog and go to <code>VerifyReadyDlg</code> and click back from there it takes me back to the <code>MyCustomizeDlg</code> instead of <code>MyEditConfigDlg.</code> I know there is something wrong with the conditions, but i just cant figure out what.</p>