title: How to use Browser.msgBox responses in google spreadsheet app?
body: <p>I am trying get the response of the user to do another action.</p>
  
  <pre><code>Browser.msgBox('Greetings', 'hello world', Browser.Buttons.YES_NO);
  if (response == Browser.Buttons.YES) {
  Logger.log('The user clicked "Yes."');
  } else {
  Logger.log('The user clicked "No" or the dialog\'s close button.');
  }
  </code></pre>
  
  <p>but this does not work. "response is not defined" error shows up. How do I get the response?</p>