Added render event to cancel.
Merge pull request #7 from RajShah94/save_fix

Added render event to cancel.