fixed errors on add bank account/card modals

Fixes #834