Function closingWidgetWouldLoseSaveable