Command tweak

Fixed cookie argument for layout.createOrClose command