OZP-10: synchronously save dashboard on window beforeunload event