fix the layout of the save and cancel buttons, refs #169