added button functionality to edit sale