7161

Avoid headers in the layout when there is a modal - refs #7161