Fix positions and widths of some dialogs