Do not show the debug bar in the modal dialog (see #6302)