implemented a dialog for the replay-recording app.