[Editor] Started adding ability to delete items.

Changed closeCurrentDocument to closeDocument to make it less confusing.