Added the front end for the search function and fixed status modal problem