Hi all.
The trouble is that I have the toolbar hidden, but there is 'go to line' entry on it. In this case 'go to line' dialog does not appear after I use the keybinding, as the original handler checks whether 'go to line' entry is present, but does not check whether the toolbar itself is visible.
The attached patch seems to fix the problem.
Best regards, Eugene.