				</div>
			</div>
		</div>
		<fr:alert-dialog id="delete-dialog">
			<fr:label>Delete Document</fr:label>
			<fr:message>Are you sure you want to delete the symbol image?</fr:message>
			<fr:positive-choice>
				<fr:label>Yes</fr:label>
				<xforms:action ev:event="DOMActivate">
					<!-- delete the file -->
					<xforms:delete nodeset="instance('doc')/*[1]/foaf:depiction[contains(@rdf:resource, instance('control-instance')/symbol_id)]"/>
					<xforms:setvalue ref="instance('delete-config')/id" value="in