Creating Widgets to Access Next Level? Question...[Help]

So the game im working on has a lot of levels. When my player reaches the end of one level, a widget pops up and the player can select to go to the next level, retry, or main menu. Since I have a lot of levels, do I have to create a new widget for every level so the buttons reference the following level as well as referencing the current one for the retry? or is there a way to create a few widgets that accomplish this same task without having to make a new widget for each level? Thx.