Close file dialog on escape