This shouldn't be necessary if I understand correctly. This modal should never appear if you're already signed in, and you shouldn't be able to see sessions if you aren't signed in.