dialogs (created by MatDialog) should only close if the user explicit clicks 'x' or 'cancel' now
strings.