Shouldn’t you hide the group focus when the popup is displayed? You can then show when the popup is closed again using the popup is closed event trigger.