"public RenameDocModalDialog  getModalDialog()" is a page method.