Closing #modx-header tag

this fixes an issue of improperly nested markup that caused many issues
https://github.com/modxcms/revolution/commit/d0764513be75b8e1bee36378757123ae14a93907#commitcomment-4294026