Both of your methods worked. I went with making the dialog a private variable. It just seemed more secure in all circumstances. It was good to learn something new though. Thanks!