adds global_close option to tooltip

- when clicking outside the tooltip it will disapear