amelia: change popover style to fit theme, closes #305