When creating a custom dialog it is clear by the demo how one can pasteHTML. I would like to know how to get a handle for the currently selected ITEM in the EDITOR so that the dialog can open with the html of the selected item.