Focus and hotkey issue

Hello! Please see this.
http://webix.com/snippet/13bb6ef2

I’ve found an issue that focus is not returned to datatable when popup window is closed by hotkey (with and without modal mode). This results in sending hotkeys to hidden window.

Also when popup window is hided enter key on focused datatable still calls hidden window hotkey function.

As for hotkey in hidden window, this is expected behavior, you can use some kind of checks in the related handler

http://forum.webix.com/discussion/5702/multiple-forms-with-hotkeys-interfering#latest

Issue with hotkey focus is confirmed, fixed build will be available on Monday

Thank you :slight_smile: