Update example to show cancel button invocation.