Only set window.mcbpDialogOpen to true if the dialog is opened.

Closes #3553607

Merge request reports

Loading