refactoring search button
refactoring edit page for legal designs