insert widgets into dialog