Add cancel event on index.html