Bug 981682 - Don't bother nulling dialog when its closed. r=bnicholson