Added dynamic dialog.