Dialogs/Replay: move code to CreateButtons()