Solid Inspector²

Unlike, say, with the cleanup³ plugin it seems the solid inspector² dialog can’t be closed by pressing esc

Is it possible to modify the code to enable this?