refactor(viz): io::selector "Cancel" button crashes
Description
The title says it all. This is a regression caused by 23e2bd58.
Steps to reproduce
- Launch
./bin/sightviewer
. - Click on "Load series" (blue folder)
- Click on
Cancel
- Crash.
Proposal
Optional section to give some functional or technical hints
Functional specifications
If there is any change to the workflow, UX/UI design, screenshots, etc..., please describe it here
Technical specifications
Details of the implementation of the fix
Test plan
Describe how you will verify that the implementation fulfils the specifications