fix delete index, add search

delete was not finding index correctly, fixed. added search input to
dashboard tabs