added options button to popup