Keep size of FunctionDialog and EntityActionDialog sane when dealing with large amounts of targets.