Fix modal scroll and js for linkpreview modal