fix dialog size