quick solution to save splitter distance when splitter is moved. must fix bug of loading layouts with missing forms.