Displaying scoreboard data inside of a dialog

I am trying to build a dialog that is used to change the value of a scoreboard. I am trying to display the current scoreboard value in that scoreboard but I cant find a way to do that.

Continue to help post