ESC Behavior when MathJax editor open

When editing an equation using the MathJax editor in Add Note window,

image

pressing ESC opens a prompt asking if you would like to “Close and lose input.”

image

It would be nice if the behavior was changed to simply close the MathJax editor.