They do not add up because the dialogs are always separate instances of client. Once the user confirms or cancels one dialog, the warnings are discarded along with the client object.
Nevertheless, I will remove this line and make the dialog classes be responsible for creating their own sets of warnings, the current design is bit hacky.