Error with MODE_OPEN_FILE for save file manager

Godot Version

4.2.1

Question

Im getting and error its out of scope
file_dialog.mode = FileDialog.MODE_OPEN_FILE # Use MODE_OPEN_FILE