DAR-2506 change in the logic of previewing main pages