`NSRunAlertPanel` is deprecated and should be replaced with `NSAlert`. Also how we trigger the Save panel is deprecated.