Pass through the current document when available, otherwise assume the current surface's document. Also add a getter for getPageName, so that can vary based on the target document. Bug: T193856 Change-Id: Ifdc951fdc6a43b924d102e3fcd7e59e52023757b