do not perform method calls when dialog is destroyed