catch cancel event on modal for tiny save