The window always stays open until you hit back. It would be nicer if it was (optionally) possible to auto-close the window when tapping or sliding outside of the window.
My idea would be to add yet another event to a window which is called "outside event" which means that some user interaction (touching) happened outside of a window. The window could then react by closing itself or by doing something else.
Having an event for outside actions gives more flexibility to what actually happens when tapping / touching outside of the window's box than just having a flag which tells "close on outside event".
In my opinion the default behavior should also be changed so that this new "outside event" automatically auto-closes the window. If the user wants it to stay open the event must be cleared / changed. Eventually a default setting for all new windows would make sense to define whether auto-close for the "ouside event" is by default active or not.
Hope you like it
