session is correctly responding to popup buttons