Replace dialog widget to page.dialog and confirm.