Fix check object file process for modal