wait for notification clearance before following URL

A somewhat simpler approach to what https://github.com/Libertree/libertree-frontend-ramaze/pull/49 fixes.