Listen to "account-removed" signal to properly move to folders view from accounts...
[modest] / ChangeLog
1 * please check the svn log instead