added documents model for saving editing sessions