add confirm of dialog