fix various depreciations in trusty
remove depreciation of dialog creation
fix another depreciation issue