Fix for bug 723403 - Save window's properties at 'delete-event' time