One of the cool things about a previous framework I using was - when a window was opened it would open with default dimensions set - however if the user resizes or moves it would save the position and dimensions in a localstorage (cookie if localstorage was not supported). So when the user opens the window again, it would read the localstorage and set the position and dimensions
It would be awesome if dhtmlx windows implemented this