disable search function and keep popup after upload/delete file function