Fix bug #854: Set focus on search input on assigned to lightbox