Changed modal link to wrap element.