BF: if you closed the Coder window the checkSave>cancel was not working