At close this dialog should be destroyed, so there's no need to reimplement this.