Notebook with magnetic closure