Made it even less work for the user

Changed it so that avenue is immediately replaced with the popup window and then the rest of the code does its work.

-Only tested on chrome