added a button to popup