right workin edit and add buttons