Esc closes viewer plugin windows on Mac