close button no longer displays on embedded version