Revert "Replace keyup with keypress to avoid false-positive in modificat...

...ion detection"

This reverts commit d6322d3c0122e70d955d96026b8f9dba22858fed

This introduced http://manage.dimagi.com/default.asp?68900#394048