fix for modules using show_wysiwyg_editor() and/or $admin->print_footer()