HI there @Jingwei_Cai,
What are you using for the modal? Is it the modal Frame, or the query confirmation? In any case, I've just tested both and the click on the background does not close it.
Forthe modal Frame, you can see the option in the settings. You can set yoru delete query to trigger a confirmation modal.