title: How to close a drawer popup with a specific button/area outside it in QML?
body: <p>I've created a drawer and I wish to close it by pressing the same button that triggers it. This button is outside the drawer. But QML doesn't seem to allow this as the only closepolicy (drawer property to close) options for Popups are:</p>
  
  <ul>
  <li>Popup.NoAutoClose (where I have to click and drag the drawer to close it)</li>
  <li>Popup.CloseOnPressOutside (anywhere outside)</li>
  <li>Popup.CloseOnPressOutsideParent (anywhere outside) (default)</li>
  <li>Popup.CloseOnReleaseOutside Popup.CloseOnReleaseOutsideParent  </li>
  <li>Popup.CloseOnEscape (only on escape button) (default)</li>
  </ul>
  
  <p>Also, I don't seem to be able to click any button outside the drawer when it is visible/drawn for some reason. If that wasn't the case, I wouldn't have this issue either.</p>
  
  <p>Can I make the drawer close by clicking on a specific button/area outside it? </p>
  
  <p>Does anyone know the solution to this?
  Thanks in advance!</p>