ToggleButtonTool IsChecked binding OneWay


Am using a ToggleButtonTool inside a Menu. And clicking on ToggleButtonTool opens a dialog which has OK and Cancel button. If user clicks on OK button then,ToggleButtonTool IsChecked state should be checked. If user clicks on Cancel button, then the ToggleButtonTool IsChecked state should be false. The issue is when ToggleButtonTool is clicked again when the IsChecked state is true it's resetting the state and the tick image goes away even if the binding is set as OneWay