Set cookie to hide modal