Close on click. Close on documentElement click