I am trying to implement a button which allows user to edit their data in a confirm box. Once the button is clicked the user gets a confirmation box which shows his previous