Today I found a pure-css way to disable clicking inside a div, instead of overlaying another div on top.
pointer-events:none
Whenever you reach out for moment.js, take a moment and checkout dayjs. It is 90% smaller (gzipped 2.6kb). And also, It works with native Date type instead of a wrapper object (moment.js)
But, it does not have equivalent of moment timezone library yet. So, if you are in need of it, hard luck