Close file dialog on load/save