I've added several new Methods to the Window class which should help with setting the Modal state of an <ext:Window>. The new code also solves the setting of the .Modal property during an AjaxEvent.
The new Methods include the following:
Example (server-side)
Window1.ShowModal(); // Shows the Modal state for the Window
Window1.HideModal(); // Hides the Modal state for the Window
Window1.ToggleModal(); // Toggles the Modal state for the window.
The same methods now also exist in the client-side API.
Example (client-side)
Window1.showModal(); // Shows the Modal state for the Window
Window1.hideModal(); // Hides the Modal state for the Window
Window1.toggleModal();
This new functionality has been committed to SVN and will be publicly available with the v0.8 release.
Hope this helps.