Use 'create_confirm_dialog' refactory code.