Jump to definition modal in Pull Requests doesn't disappear

When clicking on a class to find the definition, the modal opens but it doesn’t disappear if I try to defocus or click somewhere else.