little fix dialog close