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.