Quantum dot behavior in transition metal dichalcogenides nanostructures