ESC to close panel