Solved loading and dims

First show the filechooser.
After the panel for the dims open.