title: Checking checkbox does not open sidebar window
body: <p><a href="https://i.stack.imgur.com/XKTZ5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XKTZ5.png" alt="enter image description here"></a></p>
  
  <p>As a follow up to <a href="https://stackoverflow.com/questions/54935138/trigger-function-by-checking-checkbox">Trigger function by checking checkbox</a>, I have a sheet with checkboxes in the first column.  I would like to be able to open a ui sidebar by checking a box? Right now I have a function popupRow that creates the sidebar and starts with:</p>
  
  <pre><code>function popupRow() {
  
        Logger.log('popupRow1');
    var id = 'vvvvvvvvvVYpeOmRn6lVk-xxxxxxxx'
   var sheet =    SpreadsheetApp.openById(id).getSheetByName('mysheet');
   var headerRow = sheet.getFrozenRows();
  
        Logger.log('popupRow2');
    ....
  </code></pre>
  
  <p>Following what I saw in the previous question I tried:</p>
  
  <pre><code>function onEdit(e){
   if (e.range.columnStart == 1 &amp;&amp; e.range.columnEnd == 1 &amp;&amp; e.range.rowStart &lt;= 2000) {
  
      Logger.log('ONEDIT');
      popupRow();
  </code></pre>
  
  <p>The sidebar does not open and the logs show:</p>
  
  <pre><code>[19-03-02 10:30:23:034 EST] ONEDIT
  [19-03-02 10:30:23:034 EST] popupRow1
  </code></pre>
  
  <p>Execution does not get to the line containing:</p>
  
  <pre><code>      Logger.log('popupRow2');
  </code></pre>
  
  <p>Why not? How can I get this working?</p>