adding custom templates to html editor when themes change + blocking other panes when html editor is activated