If she is a lap sitter, she must see that you are sitting and think it is a good time.
Lisa, Sugarmamma, wrote a funny thread recently about the doggies thinking there is a secret exit from the bathroom from which she might escape. Many dogs don't like to lose sight of their humans, and that includes when their humans go into the bathroom.