This is already fixed in 2.0.0 beta 4: the button at the bottom of the buddylist and the dialog are both closed in the event that you delete the account. -- Crash after deleting account https://launchpad.net/bugs/68840