Steps to reproduce:
- Run the project from the attachment.
- Click the "Open" button.
- Select the "test1" folder.
- Click the "Delete" button.
Expected results:
The folder is deleted.
Current results:
The following alert appears: "The document could not be saved because the target file's extension is invalid."