saves time in storage when closing webpage