Edit Inplace: use Controller.window to render portlet and improve tablayout in composer