Fix Issue #430: Sometimes, negative response from CanDeactivate doesn't restore previous URL