finished adding doc search and added done button in edit view