web: Adapt to new lightbox API in capture component