if ( `window -exists componentEditorPanel1Window` ) deleteUI -window componentEditorPanel1Window; else tearOffPanel "Component Editor" "componentEditorPanel" true;