Bug 889218: add tests for 'escape' closing panel when open