Hello All,<br><br>I am trying to create a button or morph that when pressed stores the present Squeak image and exits Squeak. I have tried both with a PluggableButtonMorph with its action associated and with a plain rectangleMorph defining its mouseDown method as follows:
<br><br>mouseDown: anEvent<br>SmalltalkImage current saveImageInFileNamed: (SmalltalkImage current imageName).<br>Smalltalk quitPrimitive.<br><br><br>In both cases pressing the morph performs as expected, but when I try to launch that image back and the application with it, it seems to be looped into that event again exiting immediately. 
<br><br>I know I am missing something important.&nbsp; Could someone explain me what it is ?<br><br>Thanks very much in advance.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Javier Reyes<br>