I can not save offline programming.

awojt Canada
I created a virtual controller from backup of the real one and I am trying to modify the rapid program. When I am accepting changes the yellow stripe on the left stays yellow and I can't close the window. I am getting question if I want to save, I am answering "Yes" and windows is not closing and status indicates file unsaved.