fixed errors on add bank account/card modals
refactoring