revert changes in #1518

#1518 breaks fancybox in Admin (Market), and since the code is different this does not work like in frontend for Bender fix. Also, since it is in backend, strict W3C validation is not so important anyway.