implemented saving and loading of ctrl-cut documents