made changes to popup