void OnCancel()
Virtual function that will be called when the Cancel button on the physical window is pressed (if it exists).