Saving a modified Dialog

I have a sub to tidy up/re-position hastily placed controls on a Dialog. What please is the mechanism to save the modified Dialog?