Packafied closes the package file and returns to the state it is in when it is first started. If the package file can't be closed, an error dialog is displayed.