I don't like this. The change has broken the login dialog (fields way too narrow - 10em as opposed to 20em). The issue here is that .modalbox wrapper should not be used for the edit page. It's only used for login and for self service creating a new account by the user. Once logged in, the form should not be wrapped in .modalbox
cheers