Handsontable in popup window

You can try to use cells method instead of columns. For this example, the cells method will look like this

 cells: function(row, col) {
        var cellProp = {};
        if (col === 1) {
          cellProp.type = 'date';
          cellProp.dateFormat = 'MM/DD/YYYY';
          cellProp.correctFormat = true;
        }
        return cellProp
      },

however, I think that the issue lays in the fact that we use the createElement and build the table each time user clicks the button. You can also try to create the window and use the button to change the visibility attribute.