tweak for close dialogue