[ALLI-2755] Keypress doesn't work with ESC in Chrom(e/-ium), use keydown instead.