Factory method for creating a new instance of the Fragment using the provided document.
Note: Always use this method to create new instances. Document is required and an exception is thrown if it's missing.
a new instance of the Fragment
must be the Document from onDocumentAvailable