Add a custom edit view for the Document type.