made offline transition smoother for comments and other actions