Add command to center dialog, and reformat file.