need model in keydown event