How to reset the Window position of certain or all dialogs and window

If you switch many times between several monitor settings. It sometime could happen that some dialogs and window appear outside the screen. Is there a fast way to reset all dialog-positions?