fixed errors on add bank account/card modals
refactoring
Merge pull request #835 from tarunc/modal-errors

fixed errors on add bank account/card modals