removes buton edit and gives the same functionality to the primary
button to edit article