Adds buttons on the edit page. Needs to add controller actions and ujs functionality.