Change widget and layout structure to use document body.