Add openModalInsert to API + bugfix

Bugfix :
- Optionals parameters buildInsert() fields