I have a command which asks if it should save the file (are.you.sure.for.build=1) and asks for parameters (command.go.*=*...). If the file is dirty and I answer that I don't want to save it then everything works as expected. But if I say that I want to save it then the command is run immediately with whatever was in Parameters before. The Parameters dialog is displayed at the same moment and when I confirm it then the command runs again.
I am on Windows.