- catch and process an error when the snapshot form is closed