Added the option to prevent the popup to be dismissed by background touching.