Select a document or add a new one.