I do something like this - but as I roll my own forms etc. I don't have to worry about this as much. What I typically do is have a DIV id'ed as "popup", where I'll throw UI prompt content and make it act as a modal window (ie., z-index it out, drop a full-page semi-transparent DIV between the background and the "popup") and use AJAX to populate said popup with whatever I need.
Most of the time it's field-level stuff - ie., a widget to complete a subset of fields on the form or something like that (think name pickers, etc.), but I've used the same approach to give the user a login form from anywhere in the application. The "popup" DIV sits right after the BODY tag, so it's never really an issue having to deal with nested forms - despite the DHTML giving the appearance of such functionality.
I do something like this - but as I roll my own forms etc. I don't have to worry about this as much. What I typically do is have a DIV id'ed as "popup", where I'll throw UI prompt content and make it act as a modal window (ie., z-index it out, drop a full-page semi-transparent DIV between the background and the "popup") and use AJAX to populate said popup with whatever I need.
Most of the time it's field-level stuff - ie., a widget to complete a subset of fields on the form or something like that (think name pickers, etc.), but I've used the same approach to give the user a login form from anywhere in the application. The "popup" DIV sits right after the BODY tag, so it's never really an issue having to deal with nested forms - despite the DHTML giving the appearance of such functionality.
That being said, good stuff! ;-)