Add support for restricting search based on text positions
Use a hash for metadata value ids
Close metadata list on selection
Add support for selecting metadata in sidebar
Add 'new search' button