Predicting dust emission using galactic 21 cm data