make type selection dynamic in editable_cell, next is to make the input box in modifiy popup dynamic