made the interaction with the popup window easier

Made it so you can move up and down in the list of tabs using ctrl-p and ctrl-n, respectively.