Avoiding click events when possible. Using href and Router interception instead.
Making showLoginPopup local