closes #880 converted document preview