It is! I’ve been caught accidentally triggering keyboard shortcuts a few times when a pop-up modal isn’t given focus. I think it’s an easy problem to fix. A similar issue was fixed here: Change owner - no focus anymore on text box.
Maybe this topic should be recategorized to ux.