Added delay so that auto scroll on modal load works properly