I just started using dialogs last week.

I agree with the OP, how about adding keydown/keyup, or even keypress to the "on dialog" event.

on *:dialog:name:keydown:id:{commands}