starting with handsontable
refactoring modal