close dialog after deleting account