made the copy/paste from file only work in normal mode.