added close button; not yet working