Added option to stop widget creation modal from closing when clicked away from it