Added cancel button delegate.