Save LayerControlDialog state even when not explicitly hidden during the session.

Also allow for smaller minimum size of the dialog.