Create files on collapsed empty folders (#2085)

This is a followup on issue #2085, to fix an issue where the input to create new files won't work on collapsed empty folders.

It triggers a `open_node.jstree` when an empty folder is opened.