add the "edit" button after a state is successfully saved.