Problem toggle utility panel with hotkey

I have defined a hotkey that should toggle the utility panel.
The first press of the hotkey works as expected and shows the panel, but the next press does not hide the panel.
The problem is, that the panel gets the focus and the lister hotkey does not trigger.
Any solution for this? maybe a command that sets the focus back to the lister? ("set focus left" is not working)

The bare (numpad) 7 key gets eaten by the log window, but things will work if you use a hotkey like Ctrl-7 or Alt-7.

ok, with ctrl or alt it is working.
But why does the log window catch the bare input? is this necessary for any function I am missing?