title: Vex dialog input: conditional show or hide text
body: <p>I'm using Vex to show a dialog. I need to conditional show or hide the text inside input.</p>
  
  <p>I have this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function($) { 
  
   $('.w-more').click(function(){
    
    var quota_ini = $(this).data('w-userquota');
    var quota_current = $(this).data('w-quota');   
       
       vex.dialog.open({
        message: 'Hola!',      
        input: [
         'Cantidad actual: '+quota_ini+'€&lt;br&gt;',
         'Cantidad apostada: '+quota_current +'€&lt;br&gt;'
        ].join('')
       });
   });
  })</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/vex-js/2.3.4/css/vex-theme-os.css" rel="stylesheet"/&gt;
  &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/vex-js/2.3.4/css/vex.css" rel="stylesheet"/&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/vex-js/2.3.4/js/vex.combined.min.js"&gt;&lt;/script&gt;
  
  &lt;div class='w-more' data-w-userquota="0" data-w-quota="20"&gt;Click&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I need something like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('.more').click(function(){  
     
    var quota_ini = $(this).data('w-userquota');
    var quota_current = $(this).data('w-quota'); 
  
    vex.dialog.open({
      message: 'Hola!',      
      input: [       
        if (quota_ini&gt;0) {'Cuota actual: '+quota_ini+'&lt;br&gt;'},
        if (quota_current&gt;0) {'Cuota actual: '+quota_current+'&lt;br&gt;'}
      ].join('')
    });
  
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any ideas? or there is any modal alternative to do this?</p>