added close dialog span back in