I hope it would be great if there's something like "exit button preserving tabs", to conditionally save current tabs for the next session, due the solution looks a bit inconvenient.