fixed bug with function dialogs not properly repainting their components when being made visible.