The dialog (z-index?) is lower compared to the header. This happens for all the dialogs: about widget dialog, details dialog, publish dialog, discard changes dialog, etc.
While reaching out for help, the design system team suggested the following approach: