Reset hidden textarea when swapping an editor's document