Update layout of some dialogs