Discard changes does a page re-render instead of reloading page.