fix double-free crasher in Edit Accounts dialogue