Dynamic recognition and repair of DNA complex damage