Prevent duplicate save dialogs on crash