Regarding the JS error:Uncaught TypeError: Cannot read property 'addClass' of nullI have debugged it and finally was due to a missing uiSetting in my dialog xml file.it must have a dialogFullScreen node under "uiSettings" node<dialogFullScreen jcr:primaryType="nt:unstructured" toolbar="[format#b...