Move assigned to lightbox directive to commons.