We reorganized the code to file dialog to render correctly