dialog fixes; sdl platform fixes; filedialog fixes