add option to allow outter click

to close the widgets on click on the body