add action to popup