make text window editable