do nothing if we press escape after writing something