toggle view when text saved