{ if (event.key === "Escape" && !isApplying) onClose(); }} />