refs #5192 by adding this directive the language selector can be closed by pressing anywhere else or esc