bug 1044125 - Only capture screenshot and show overlay when edge gesture...

...s are in use or task manager is used. r=alive
can we do a `this.element.addEventListener('_closed', onClosed);` in app_window.js instead ?