Issue #988204 by theohawse, AndyF, peem83, Dmitriy.trt, voleger: Automaticaly attach behaviors after updating modal lightbox