Refactoring openModalInsert fields management