add close button + preview