Make the modal dialog when unlinking accounts work.