position and size for dialogs are remembered