combine make list and view table, factoring out dropdown button