scripting:api:base-document:close