Centering dialogs.