added story show view as modal when javascript is enabled.