make ESC close Dialog even after clicking page background, fixes #15605 !strict