Dot context shortcut not working from iFrame

Hi all,

I’ve got a problem with dot (".") shortcut. We are developing a plugin to Jira (both Cloud and Server), which is provided with an iframe.
We pass shortcuts (keydown events) to a parent with “…)”. You can see code in attached files (“code.png”). I checked it with debugger, an event is sent to parent, but no popup is opened (with Jira Cloud). I think it’s some problem with a dialog method “show” from aui packages. What’s more, if I deploy our plugin on Jira Server 8, then shortcut works fine on Chrome, only Firefox/Edge is not working.

Here’s a code fragment which I suppose contains a bug: