swapped position of buttons in pop up