Lee Gregory's audacious attempt was saved by Will Norris as Peterborough United were left hanging on against Sheffield Wednesday.