title: Cancel button not closing popup window in app or some web browsers
body: <p>I have a popup window which has a cancel button. I want the window to close on the click of the button. The window.close() function performs the task in Chrome, but not on other browsers. Or even app. I want the popup to close on web and app both. Please help.</p>
  
  <p><code>&lt;button onclick="window.close()" class="cancel"&gt;CANCEL&lt;/button&gt;</code></p>