it would be great to know, if the window was closed on purpose (toolbar CLOSE button) or if the user tapped outside the keypad region