changed order of buttons in modal