add buttons: add and edit