behaviorOverlay will not reset as this is cancel function (when a user clicks cancel).

User cannot get to this dialog from settings. Settings opens a different overlay which dedicated to the Clear all history.