I have privateRoute. When user is not signin or email is not verified. redirect to modal login with waring. it is run by function show modal but i get error. it is work, by