I would like to know if it is possible to use the modal extension to do the following (which is very much how things work on the Regular Labs site):
1. Open login form in modal.
2. User logs in and form is automatically closed. The page from which the modal was activated is refreshed to update menu items for logged in user (e.g. User menu to show, Log out menu item rather than Log in menu item.
3. If user wants to create an account he clicks that option from the login form, then the modal is closed and Joomla opens the original browser window (or a new browser window) on the account creation page.
I would be interested in using similar functionality with other forms as well, but the login scenario indicates the type of use very well.