Removed deprecated dialog size optimization call