Now the "Close dialog" when changes are not saved is this one:  And GNOME Gedit does this  Which IMO is more useful.