implemented view mode changes shared by @RamDav
changed default link from download to view and set target to blank