fixed saving editor geometry on pressing OK