A full update after hiding a dialog does not work. A partial update does.
Sample Code:
<?xml version="1.0" encoding="UTF-8"?>
<xp:view
xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xe="http://www.ibm.com/xsp/coreex">
<xp:text
escape="true"
id="computedField1"
value="#{viewScope.test}">
</xp:text>
<xp:button
value="Change Value CF"
id="button2">
<xp:eventHandler
event="onclick"
submit="true"
refreshMode="complete">
<xp:this.action><![CDATA[#{javascript:getComponent("dialog1").show();}]]></xp:this.action>
</xp:eventHandler></xp:button>
<xe:dialog id="dialog1" title="Update CF">
<xe:dialogContent id="dialogContent1">
<xp:inputText id="inputText1" value="#{viewScope.test}"></xp:inputText></xe:dialogContent>
<xe:dialogButtonBar id="dialogButtonBar1">
<xp:button
value="OK"
id="button1">
<xp:eventHandler
event="onclick"
submit="true"
<span style="color:#ff0000;"><strong>refreshMode="complete" (fails) </strong></span><strong>refreshMode="partial" refreshId="computedField1" (work)</strong>></div>
<xp:this.action><![CDATA[#{javascript:getComponent("dialog1").hide();}]]></xp:this.action>
</xp:eventHandler></xp:button></xe:dialogButtonBar></xe:dialog>
</xp:view>