`@closed` hook gets called for all actions, whether user initiated or not. This is the source of auto-closing modals without user interaction reported in #3303 and #3519. While testing its effects, I also discovered other little issues but I have no clue how to Vue so I'll leave it to the big bois.
1. Moving a file to the same folder prompts a second modal. If you hit rename it doesn't ask you for the name, it just appends `(1)` and then complains that it cannot find the file if you try move again.
2. Creating a new file with the same name of an existing one does not issue a toast notification. That's because `files.ts` api does not return a properly formatted `StatusError` [here](https://github.com/filebrowser/filebrowser/blob/master/frontend/src/api/files.ts#L139).