delegate keyboard event to parent window