Databases search UI update. Fixed edit doc bug.