finish save button in add_edit