<br><div class="gmail_quote">2012/3/13 Flávio Etrusco <span dir="ltr"><<a href="mailto:flavio.etrusco@gmail.com">flavio.etrusco@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Do you set the ModalResult in the button or in the form? If the<br>
former, is there any specific reason for it?<br>
<br></blockquote><div><br>It's on the form.<br>Just to clarify, it does actually set the ModalResult up correctly, it just doesn't close the form, until you click the OK button the second time. <br></div></div><br>

Richard<br>