Extract data revert into its own method
Added subdirectory selection when possible; Commented the nasty bug in the parent class in 2.3.1
Added js for the remove action; Make the UI works!
Do not add trailing slash at the end of paths; Makes the selection works!