That is the expected behaviour… in chrome. Clicking outside of the modal will close it.
Like in this topic…