More intelligent solution for saving form size setting.