Close Quick View By Clicking Outside Popup Window

Hi there,

Is there anyone who knows how to modify this function whereby you can only close the Quick View Pop up Window by clicking the "X" Close button? I want them to be able to close just by clicking outside the window.