prevent Alt+Gr from being captured by the undo/redo handler