misc fixes:
- not closing bs modals
- error message display if server error
- parsing field name by '.' and going deeper in record