Given that you have a control that fires a command:
Is there a way to prevent the command from being fired
I had the same issue and this worked for me: