changed browser prompt

only pops if user is online