This patch partially converts the Sculpt manager to the dialog API. At this stage, both the old utilities and the new dialog API are still used simultaneously. Issue #5008