allow systems that dont use window.onbeforeunload to save setting via a timer