Add button now adds to data structure
model.close() commented